package day03_oop_code.com.itheima.d10_genericity_method;

import day03_oop_code.com.itheima.d9_genericity_interface.Student;

public class Test {
    public static void main(String[] args) {
        String[] names = {"张三", "李四", "王五"};
        String rs1 = printArray(names);
        System.out.println("rs1 = " + rs1);
        Student[] students = new Student[60];
//        String rs2 = printArray(students);
    }
    public static <T> T printArray(T[] array){
        return array[0];
    }
}
